﻿@model IEnumerable<NewstorePlateformeDAO.C_gOLD_COMMANDE_mARCHANDISE_CATALOGUE>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Administration/_Layout.cshtml";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            GOLD_COMMANDE
        </th>
        <th>
            MARCHANDISE_CATALOGUE
        </th>
        <th>
            quantite
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.GOLD_COMMANDE.num_commande)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.MARCHANDISE_CATALOGUE.libelle)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.quantite)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.id_gOLD_COMMANDE_mARCHANDISE_CATALOGUE }) |
            @Html.ActionLink("Details", "Details", new { id=item.id_gOLD_COMMANDE_mARCHANDISE_CATALOGUE }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.id_gOLD_COMMANDE_mARCHANDISE_CATALOGUE })
        </td>
    </tr>
}

</table>
